<?php  
	function delete_user_tag($username, $tag){
		$delete = "DELETE FROM UserTags WHERE username='$username' AND tag='$tag';";
		$result = mysql_query($delete);	
	}
	
	include_once '../manage_db/db_connect.php';
	$con = db_connect();
	$tag = $_GET['link'];
	$username = $_GET['un'];
	delete_user_tag($username, $tag);
	header("Location: ../edit_user.php?link=$username");
?>